/**
 * 系统消息列表
 * @type {string} get
 * @param {string} {openId:openId , customerId:客户id }
 */
export function appMessageList(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/message/inform/appMessageList", data).then(info => {
			resolve(info.result)
		})
	})
}

/**
 * 活动通知列表
 * @type {string} get
 * @param {string} {openId:openId , isRead:是否已读：Y是、N否 }
 */
export function activityNoticeList(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/message/inform/activityNoticeList", data).then(info => {
			resolve(info.result)
		})
	})
}

/**
 * 查询活动详情
 * @type {string} get
 * @param {string} {openId:openId , id:活动ID }
 */
export function activityNoticeInfo(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/message/inform/activityNoticeInfo", data).then(info => {
			resolve(info.result)
		})
	})
}



/**
 * 预约记录列表
 * @type {string} get
 * @param {string} {openId:openId , customerId:客户id,isRead:是否已读：Y是、N否}
 */
export function appointRecordList(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/message/inform/appointRecordList", data).then(info => {
			resolve(info.result)
		})
	})
}
/**
 * 查询预约记录详情
 * @type {string} get
 * @param {string} {openId:openId ,, id:预约记录ID主键}
 */
export function appointRecordInfo(data) {
	return new Promise(resolve => {
		uni.$u.http.get("/applet/message/inform/appointRecordInfo", data).then(info => {
			resolve(info.result)
		})
	})
}